package org.jeecg.modules.cosmetic.model.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class ToxSublistDTO {

    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("毒理数据表ID")
    private Long toxId;

    @ApiModelProperty("数据类型：1-动物实验；2-替代实验；3-人体实验")
    private Integer type;

    @ApiModelProperty("数据来源")
    private String source;

    @ApiModelProperty("测试方式")
    private String method;

    @ApiModelProperty("实验名称")
    private String title;

    @ApiModelProperty("实验次数")
    private String times;

    @ApiModelProperty("动物种属")
    private String object;

    @ApiModelProperty("途径")
    private String ways;

    @ApiModelProperty("原料浓度")
    private String density;

    @ApiModelProperty("结果")
    private String result;

    @ApiModelProperty("结论")
    private String conclude;

    @ApiModelProperty("阐述方式模板数据")
    private String expoundTemp;

    @ApiModelProperty("阐述方式")
    private String expound;

    @ApiModelProperty("表格类型：4-透皮吸收；5-急性毒性；6-刺激性；7-致敏性；8-光毒性；9-致突变性；10-系统毒性；11-致癌性；12-人体实验；13-免疫病毒；14-神经病毒；15-内分泌病毒")
    private Integer form;

    @ApiModelProperty("是否优选，0-优选，1-不优选")
    private Integer pick;

    @ApiModelProperty("试验目的")
    private String purpose;

    @ApiModelProperty("剂量")
    private String dosage;

    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty("实验时间")
    private Date period;

    @ApiModelProperty("报告信息数据")
    private ToxReportChildDTO toxReportChild;
}
